home *** CD-ROM | disk | FTP | other *** search
- #import <appkit/appkit.h>
- #import "../SerialAndModem2.0/Serial.h"
-
- #define READSTRINGSIZE 100
-
- @interface Reader:Serial
- {
- SEL action;
- id target;
- char readString[READSTRINGSIZE];
- char termChar;
- }
-
- - init:( char*) portName baudrate:(int) baudRate;
- - (const char*) stringValue;
- - setTarget:(SEL) theTarget andID: theID;
-
- - target;
- - (SEL) action;
- - setTarget:anObject;
- - setAction:(SEL) aSelector;
-
- - setTerm:(char) term;
- - charsReady;
-
- @end
-